const Tabbar = () => import('@/components/Tabbar/');

export default [
  {
    path: '/',
    name: 'home',
    components: {
      default: () => import('@/views/home/tabbar-home'),
      tabbar: Tabbar
    },
    meta: {
      keepAlive: true
    }
  },
  {
    path: '/test',
    name: 'test',
    component: () => import('@/views/test/index')
  },
  {
    path: '/forelist',
    name: 'forelist',
    component: () => import('@/views/fx_luck/forelist')
  },
  {
    path: '/test2',
    name: 'test2',
    component: () => import('@/views/test2/index')
  },
  {
    path: '/test3',
    name: 'test3',
    component: () => import('@/views/test3/index')
  },
  {
    path: '/fx_activity',
    name: 'fx_activity',
    component: () => import('@/views/fx_luck/index'),
    meta: {
      keepAlive: true
    }
  },
  {
    path: '/more',
    name: 'more',
    component: () => import('@/views/fx_luck/more')
  },
  {
    path: '/guize',
    name: 'guize',
    component: () => import('@/views/fx_luck/guize')
  },
  {
    path: '*',
    redirect: {
      name: 'home'
    }
  }
];
